package Controllers;

import DAO.Login_Dao;

public class Login_Controller {

    Login_Controller() {
    }

    public Login_Controller(Login_Dao login_Dao) {
    }

    public boolean controlLogin(String Name, String Pass) {
        boolean loginDaoConnector = true;
        Login_Dao y = new Login_Dao();
        if (y.userLogin(Name, Pass) == false) {
            loginDaoConnector = false;
        }
        return loginDaoConnector;
    }
}
